<?

function V_Event_Home($array_event) { ?>    
    <table width="100%" cellspacing="5" cellpadding="5" border="0">
        <tr>
    	<td  valign="top"rowspan="3" width="40%" style="border-bottom: 1px solid #dfdfdf;border-right: 1px solid #dfdfdf;">
    	    <div style="margin-right: 20px" onclick="redirect('<?= $array_event[0]['id'] ?>');">
    		<div>
    		    <img width="400px" src='<?= DIR_IMG_EVENT . $array_event[0]['image_event'] ?>'/>
    		</div><br/>
    		<div>
    		    <a style="font-size: 17px;font-weight: bold;color: cadetblue"><?= $array_event[0]['title_event'] ?></a>
    		</div>
    		<div>
    		    <p><?= $array_event[0]['header_event'] ?> ...</p>
    		</div>
    	    </div>
    	</td>
    	<td  valign="top" width="100px" style="border-bottom:1px solid #dfdfdf;">
    	    <div  onclick="redirect('<?= $array_event[1]['id'] ?>');">
    		<img width="100px"  src='<?= DIR_IMG_EVENT . $array_event[1]['image_event'] ?>'/>
    	    </div>
    	</td>
    	<td  valign="top" style="border-bottom:1px solid #dfdfdf;">
    	    <div onclick="redirect('<?= $array_event[1]['id'] ?>');">
    		<div>
    		    <a style="font-size: 14px;font-weight: bold;color: cadetblue"><?= $array_event[1]['title_event'] ?></a>
    		</div>
    		<div>
    		    <p style="font-size: 12px;"><?= $array_event[1]['header_event'] ?> ...</p>
    		</div>
    	    </div>
    	</td>
        </tr>
        <tr>
    	<td  valign="top" width="100px" style="border-bottom:1px solid #dfdfdf;">
    	    <div  onclick="redirect('<?= $array_event[2]['id'] ?>');">
    		<img width="100px" src='<?= DIR_IMG_EVENT . $array_event[2]['image_event'] ?>'/>
    	    </div>
    	</td>
    	<td  valign="top" style="border-bottom:1px solid #dfdfdf;">
    	    <div onclick="redirect('<?= $array_event[2]['id'] ?>');">
    		<div>
    		    <a style="font-size: 14px;font-weight: bold;color: cadetblue"><?= $array_event[2]['title_event'] ?></a>
    		</div>
    		<div>
    		    <p style="font-size: 12px;"><?= $array_event[2]['header_event'] ?> ...</p>
    		</div>
    	    </div>
    	</td>
        </tr>
        <tr>
    	<td  valign="top" width="100px" style="border-bottom:1px solid #dfdfdf;">
    	    <div  onclick="redirect('<?= $array_event[3]['id'] ?>');">
    		<img width="100px" src='<?= DIR_IMG_EVENT . $array_event[3]['image_event'] ?>'/>
    	    </div>
    	</td>
    	<td  valign="top" style="border-bottom:1px solid #dfdfdf;">
    	    <div onclick="redirect('<?= $array_event[3]['id'] ?>');">
    		<div>
    		    <a style="font-size: 14px;font-weight: bold;color: cadetblue"><?= $array_event[3]['title_event'] ?></a>
    		</div>
    		<div>
    		    <p style="font-size: 12px;"><?= $array_event[3]['header_event'] ?> ...</p>
    		</div>
    	    </div>
    	</td>
        </tr>
    </table>
<? } ?>